<div>
	<p><?php echo $content; ?></p>
	<button><a target="_blank" href="http://mail.qq.com/">进入邮箱</a><a target="_blank" id="send" href="javascript:void(0)">重新发送</a></button>
</div>
<script src="<?php echo yii::app()->theme->baseUrl;  ?>/assets/statics/js/ajaxForm.js"></script> 
<link rel="stylesheet" href="<?php echo yii::app()->theme->baseUrl;  ?>/assets/statics/js/artDialog6/css/ui-dialog.css">
<script src="<?php echo yii::app()->theme->baseUrl;  ?>/assets/statics/js/artDialog6/js/dialog-min.js"></script> 


<script type="text/javascript">
	var LOCK = false;
	$(function(){
		$("#send").click(function(e){
			e.preventDefault();
			tips = dialog({
				fixed: true,
				cancelDisplay: false
			});					
			if(LOCK){
				tips.title('正在处理');
				tips.showModal();
				return false;
			}else{
				LOCK = true;
				tips.title('正在提交');
				tips.showModal();
			}				
			$.post('<?php echo $this->createUrl("regEmailSuccesed", array("mail" => $mail)) ?>',{ajax:true},function(data){
				LOCK = false;
				tips.title('处理成功');
				tips.content(data.info);
			},'json');
		})
	})
</script>